<?php
/**
 * Created by PhpStorm.
 * User: 68008000
 * Date: 2017/11/21
 * Time: 14:27
 */

namespace app\admin\validate;


use think\Validate;

class TypeAttr extends Validate
{
    protected $rule = [
        'taname'  =>  'require',
        'class'  =>  'require',
        'tavalue'  =>  'require',

    ];
    protected $message = [
        'taname.require'=>'请输入属性名称',
        'class.require'=>'请输入属性类别',
        'tavalue.require'=>'请输入属性值',

    ];
}